GoXam for WPF v3
DoLinkAdded Method (GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>)
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : DoLinkAdded Method
This should be called when a link data object is added to the LinksSource collection.
Syntax
public void DoLinkAdded( 
   LinkType linkdata
)

Parameters

linkdata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the LinksSource collection implements System.Collections.Specialized.INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the LinksSource has been augmented.

This raises a Changed event with a value of ModelChange.AddedLink.

See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members